withComponents

open override fun withComponents(x: Double, y: Double, z: Double): MutableVec3(source)

Creates a vector with the specified components.

Return

A vector with the specified components.

Parameters

x

The x component.

y

The y component.

z

The z component.